package com.gtja.beoms.xxljob.enums;

/**
 * <p>
 *
 * </p>
 *
 * @author CP_wangzhi
 * @since 2021/10/21
 */
public enum XxlJobPathEnum {
    LOGIN("/login", "登录"),
    ADD("/jobinfo/add", "添加Job"),
    ADDANDSTART("/jobinfo/remoteAdd", "添加并启动Job"),
    UPDATE("/jobinfo/update", "更新Job"),
    REMOVE("/jobinfo/remoteRemove", "删除Job"),
    PAGE_JOB("/jobinfo/pageList", "查询Job"),
    PAGE_GROUP("/jobgroup/pageList", "查询Job组");


    private String path;
    private String desc;

    public String getPath() {
        return path;
    }

    public String getDesc() {
        return desc;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    XxlJobPathEnum(String path, String desc) {
        this.desc = desc;
        this.path = path;
    }
}
